package com.zpark.mappermybatis;

import com.zpark.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {
    Student selectById(Integer stuId);
    List<Student> selectAll();
    void insertOne(Student student);
}
